/**
 * visualization api
 * @author zhangfanfan
 */

import axios from '@/api/http'

export const queryVisualizationData = (options?: any) =>
  axios.request({
    ...options,
    url: '/visualization/query',
  })

export const tcolumnQueryValuesByPage = (options?: any) =>
  axios.request({
    ...options,
    url: '/tcolumn/queryValuesByPage',
  })

export const tcolumnQueryMinMax = (options?: any) =>
  axios.request({
    ...options,
    url: '/tcolumn/queryMinMax',
  })

export const tcolumnQueryDetail = (options?: any) =>
  axios.request({
    ...options,
    url: '/tcolumn/queryDetail',
  })

/**
 * 获取字段统计数据
 */
export const tcolumnQueryStat = (options?: any) =>
  axios.request({
    ...options,
    url: '/tcolumn/queryStat',
  })
